<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    const arr = [1, 1, 2, 2, 3, 3, 4, 4, 5, 5]
    const result = new Set(arr)
    console.log(result)
</script>
</body>
</html>
